# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=python-pyqt6-sip
pkgver=13.6.0
pkgrel=1
arch=(loong64 x86_64)
pkgdesc='The sip module support for PyQt6'
url='https://riverbankcomputing.com/software/pyqt/intro'
license=(GPL)
depends=(glibc
         python)
makedepends=(python-build
             python-installer
             python-setuptools
             python-wheel)
source=(https://pypi.python.org/packages/source/P/PyQt6-sip/PyQt6_sip-$pkgver.tar.gz)
sha256sums=('2486e1588071943d4f6657ba09096dc9fffd2322ad2c30041e78ea3f037b5778')

build() {
  cd PyQt6_sip-$pkgver
  python -m build --wheel --no-isolation
}

package()  {
  cd PyQt6_sip-$pkgver
  python -m installer --destdir="$pkgdir" dist/*.whl
}
